package com.example.teacherservice.dto;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class ChapterOrderUpdateRequest {
    @NotNull(message = "课程ID不能为空")
    private Long courseId;

    @NotEmpty(message = "章节ID列表不能为空")
    private List<Long> chapterIds;
}
